package com.joysuch.wwyt.patrol.controller;


import com.joysuch.wwyt.patrol.service.PatrolUnfinishTaskService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author heqifeng
 * @since 2022-03-01
 */
@RestController
@RequestMapping("/patrol/patrol-unfinish-task")
@Api("未完成的任务")
public class PatrolUnfinishTaskController {
    @Autowired
    private PatrolUnfinishTaskService service;


    @GetMapping("scan-uncheck-task")
    @ApiOperation("扫描未完成任务")
    public void scanUncheckTask() {
        service.scanUncheckTask();
    }


}

